ul {
    list-style-type: none;
    margin: 0;
    padding-left: 20px;
    overflow: hidden;
    background-color: #333;
    height:55px;
}

ul div {
    display: inline-block; /* 将li元素改为inline-block显示 */
    float: none; /* 取消浮动 */
}

li a {
    display: block;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li a:hover:not(.active) {
    background-color: #00020a;
}

.active {
    background-color: #5cb9e3; /* 设置按钮背景颜色 */
}

